package com.irdstudio.efp.console.service.facade;

import java.util.List;

import com.irdstudio.efp.console.service.vo.PrdRuleRelVO;

/**
 * <p>Description:产品规则关联信息表				<p>
 * @author fuzm
 * @date 2018-06-23
 */
public interface PrdRuleRelService {
	
	public List<PrdRuleRelVO> queryAllOwner(PrdRuleRelVO prdRuleRelVo);
	
	public List<PrdRuleRelVO> queryAllCurrOrg(PrdRuleRelVO prdRuleRelVo);
	
	public List<PrdRuleRelVO> queryAllCurrDownOrg(PrdRuleRelVO prdRuleRelVo);
	
	public int insertPrdRuleRel(PrdRuleRelVO inPrdRuleRelVo);
	
	public int deleteByPk(PrdRuleRelVO prdRuleRelVo);
	
	public int updateByPk(PrdRuleRelVO prdRuleRelVo);
	
	public PrdRuleRelVO queryByPk(PrdRuleRelVO prdRuleRelVo);
	
	/**
	 * 根据产品ID查询产品规则关联信息
	 * @param prdRuleRelVo
	 * @return
	 */
	public List<PrdRuleRelVO> queryAllByPrdId(PrdRuleRelVO prdRuleRelVo);
	
}
